package com.universalInterface.lims_interface.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.universalInterface.common.base.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * TestCurveTable：实时曲线参数表，（初始标准表），用于生成表结构
 * </p>
 *
 * @author Lx
 * @since 2023-12-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("test_curve_table")
@Schema(name = "TestCurveTable", description = "TestCurveTable：实时曲线参数表，（初始标准表），用于生成表结构")
public class TestCurveTable extends BaseEntity implements Serializable {

	private static final long serialVersionUID = 6937587507885874953L;

	@Schema(description = "通道名称")
	@TableField(value = "ch_name")
	private String chName;

	@Schema(description = "通道英文名")
	@TableField(value = "en_name")
	private String enName;

	@Schema(description = "是否显示出来，1位显示，0位不显示")
	@TableField(value = "shows")
	private Integer shows;

	@Schema(description = "Y轴最小值")
	@TableField(value = "min")
	private Integer min;

	@Schema(description = "Y轴最大值")
	@TableField(value = "max")
	private Integer max;

	@Schema(description = "Y轴小数点位数")
	@TableField(value = "format")
	private Integer format;

	@Schema(description = "单位")
	@TableField(value = "unit")
	private String unit;

	@Schema(description = "颜色")
	@TableField(value = "color")
	private String color;

}
